package com.xnyzc.lhy.didi.feign.fallback.worksheet;

import com.xnyzc.lhy.common.entity.DiDiRv;
import com.xnyzc.lhy.common.penum.EDiDiErrorCode;
import com.xnyzc.lhy.common.penum.invoice.EInvoiceErrorCode;
import com.xnyzc.lhy.didi.entity.param.workorder.CreateWorkOrderParam;
import com.xnyzc.lhy.didi.entity.param.workorder.UpdateWorkOrderParam;
import com.xnyzc.lhy.didi.entity.param.workorder.WorkOrderUrgentParam;
import com.xnyzc.lhy.didi.feign.Invoice.IOaSysInvoiceApplyService;
import com.xnyzc.lhy.didi.feign.worksheet.IWorkOrderService;
import com.xnyzc.lhy.finance.entity.invoice.response.*;
import com.xnyzc.lhy.finance.entity.params.invoice.InvoiceApplyForDiDiParam;
import com.xnyzc.lhy.finance.entity.params.invoice.InvoiceInvalidDiDiParam;
import com.xnyzc.lhy.finance.entity.params.invoice.InvoiceQueryDiDiParam;
import com.xnyzc.lhy.finance.entity.params.invoice.ResendInvoiceDiDiParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 工单服务
 * </p>
 *
 * @author haoyfa
 * @since 2019-10-25
 */
@Slf4j
@Service
public class WorkOrderServiceFallbackImpl implements IWorkOrderService {

    @Override
    public DiDiRv getCreateWorkOrder(CreateWorkOrderParam createWorkOrderParam) {
        return DiDiRv.wrapErrorCode(EDiDiErrorCode.serverError);
    }

    @Override
    public DiDiRv getUpdateWorkOrder(UpdateWorkOrderParam updateWorkOrderParam) {
        return DiDiRv.wrapErrorCode(EDiDiErrorCode.serverError);
    }

    @Override
    public DiDiRv getWorkOrderUrgent(WorkOrderUrgentParam workOrderUrgentParam) {
        return DiDiRv.wrapErrorCode(EDiDiErrorCode.serverError);
    }
}
